<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>物业管理软件</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
	<meta name="author" content="Muhammad Usman">
	<#include "*/pubcss.ftl">		
</head>

<body>
	<#include "*/top.ftl">
	<!-- topbar ends -->
	<div class="container-fluid">
		<div class="row-fluid">
			<#include "*/left.ftl">			
			<div id="content" class="span10">
			<!-- content starts -->
			<div>
				<ul class="breadcrumb">
					<li>
						<a href="#">系统配置</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">权限管理</a>
					</li>
				</ul>
			</div>
		    <div class="row-fluid sortable">
				<div class="box span3">
					<div class="box-header well">
						<h2><i class="icon-edit"></i>权限菜单</h2>
					</div>
					<div class="box-content">
						 <button type="submit" class="btn btn-primary" id="addLeaf">新增</button>
						 <button type="submit" class="btn btn-primary" id="edit">修改</button>
						 <button type="submit" class="btn btn-primary" id="remove">删除</button>
						 <div class="zTreeDemoBackground left">
						    <ul id="menup" class="ztree"></ul>
						 </div>
					</div>
				</div><!--/span-->
				<div class="box span9">
					<div class="box-header well">
						<h2><i class="icon-edit"></i>权限信息</h2>
					</div>
					<div class="box-content">
						<form class="form-horizontal" action="javascript:savePermission()">
						  <fieldset>
							<div class="control-group">
								<label class="control-label" for="focusedInput">权限名称</label>
								<div class="controls">
								  <input class="input-xlarge focused" id="pid" name="permission.pid" type="hidden" value="">
								  <input class="input-xlarge focused" id="pname" name="permission.pname" type="text" value="">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="focusedInput">链接地址</label>
								<div class="controls">
								  <input class="input-xlarge focused" id="purl" name="permission.purl" type="text" value="">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="focusedInput">显示顺序</label>
								<div class="controls">
								  <input class="input-xlarge focused" id="seq" name="permission.seq" type="text" value="">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="focusedInput">样式图标</label>
								<div class="controls">
								  <input class="input-xlarge focused" id="style" name="permission.style" type="text" value="">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="focusedInput">上级权限</label>
								<div class="controls">
								  <select id="fid" class="select span6" name="permission.parent.pid">
								     <option value="">　</option>
							      </select>
								</div>
							</div>
						  </fieldset>
						  <button type="submit" class="btn btn-primary">保存</button>
						</form>
					</div>
				</div><!--/span-->
			</div><!--/row-->
		   
		  
       
			<!-- content ends -->
			</div><!--/#content.span10-->
		</div><!--/fluid-row-->

		
	</div><!--/.fluid-container-->
    <#include "*/infotemplate/alert.ftl">
    <#include "*/infotemplate/saveinfo.ftl">
	<#include "*/pubjs.ftl">
	<script src='${base}/script/system/permission_manager.js'></script>
		
</body>
</html>
